package com.wenjie.original.service;

import com.wenjie.original.entity.ScanRecord;
import com.wenjie.original.entity.common.vo.RestBaseVo;
import com.wenjie.original.entity.vo.ScanRecord.ScanRecordUpOrAddVo;
import com.wenjie.original.entity.vo.ScanRecord.ScanRecordVo;
import com.wenjie.original.flex_config.baseInterface.CusIService;

import java.util.List;

public interface IScanRecordService extends CusIService<ScanRecord> {


    /**
     * @Description 获取箱子的详情信息
     * @author wenjie
     * @date 2024/9/5 11:39
     */
    List<ScanRecord> detail(Long scanRecordId);


    /**
     * @Description 保存内箱装箱信息
     * @author wenjie
     * @date 2024/9/18 17:16
     */
    void saveSmall(ScanRecordUpOrAddVo.AddSmallVo addVo);

    /**
     * @Description 保存外箱装箱信息
     * @author wenjie
     * @date 2024/9/4 17:09
     */
    void saveBig(ScanRecordUpOrAddVo.AddBigVo addVo);

    /**
     * 查看一下当前用户是否有 打包计划的权限
     *
     * @param orderBoxId
     * @return
     */
    Boolean checkAuthority(Long orderBoxId);

    /**
     * @Description 查看一下是否符合大箱扫码记录
     * @author wenjie
     * @date 2024/11/8 17:13
     */
    RestBaseVo<ScanRecordVo.ResVo> getByCodeByBigScan(ScanRecordVo.getByCodeByBigScanSelVo selVo, Class<ScanRecordVo.ResVo> resVoClass);
}
